package com.hoshiicloud.withdraw.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * (WithdrawApplyRecord)withdraw_apply_record
 *
 * @author makejava
 * @since 2019-08-21 17:31:42
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("withdraw_apply_record")
public class WithdrawApplyRecord extends Model<WithdrawApplyRecord> {
    
                /**
         * 主键
         */
    @TableId("id")
    private Integer id;
    
        /**
         * 创建时间
         */
    @TableField("create_time")
    private Date createTime;
    
        /**
         * 修改时间
         */
    @TableField("update_time")
    private Date updateTime;
    
        /**
         * 是否删除
         */
    @TableField("is_del")
    private Byte isDel;
    
        /**
         * 申请人id
         */
    @TableField("user_id")
    private Integer userId;
    
        /**
         * 提现金额
         */
    @TableField("amount")
    private BigDecimal amount;
    
        /**
         * 客户请求标识，最长32位（用户提现时企业系统自动生成，每个requestId代表一个提现请求，工猫作为每笔提现记录的唯一标识）
         */
    @TableField("request_id")
    private String requestId;
    
        /**
         * 当次缴纳个税
         */
    @TableField("current_tax")
    private String currentTax;
    
        /**
         * 实发金额
         */
    @TableField("current_real_wage")
    private String currentRealWage;
    
        /**
         * 当次提现管理费
         */
    @TableField("current_manage_fee")
    private String currentManageFee;
    
        /**
         * 银行名称
         */
    @TableField("bank_name")
    private String bankName;


	/**
	 * 银行名称
	 */
	@TableField("withdraw_record_id")
	private String withdrawRecordId;


	/**
	 * 银行名称
	 */
	@TableField("withdraw_platform_id")
	private String withdrawPlatformId;
    
        /**
         * 银行卡
         */
    @TableField("bank_account")
    private String bankAccount;
    
        /**
         * 申请时间(yyyyMMddHHmmss)
         */
    @TableField("date_time")
    private String dateTime;
    
        /**
         * 实际付款时间(yyyyMMddHHmmss)
         */
    @TableField("pay_time")
    private String payTime;
    
        /**
         * 备注
         */
    @TableField("remark")
    private String remark;
    
    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}